package com.crack.nga2.entity;

import android.text.Spannable;
import android.text.SpannableStringBuilder;

import java.util.List;
import java.util.Map;

public class Floor {

    /**
     * 内容
     */
    private String content;
    /**
     * 附加信息(加分、修改)
     */
    private String alterinfo;

    private int type;
    /**
     * 回复用户id
     */
    private int authorid;
    /**
     * 标题
     */
    private String subject;
    /**
     * 回复自身的id 主题内容为0
     */
    private int pid;
    /**
     * 所在主题id
     */
    private int tid;
    /**
     * 内容长度
     */
    private String content_length;
    /**
     * 使用的客户端信息
     */
    private String from_client;
    /**
     * 附件
     */
    private Map<String, Attach> attachs;
    /**
     * 楼层
     */
    private int lou;
    /**
     * 回复时间
     */
    private long postdatetimestamp;
    /**
     * 引用内容
     */
    private SpannableStringBuilder quote;

    /**
     * 用户名
     */
    private String username;
    /**
     * 用户组名
     */
    private String groupname;
    /**
     * 声望
     */
    private String reputation;
    /**
     * 格式化后的时间
     */
    private String time;

    private SpannableStringBuilder sp;

    public SpannableStringBuilder getSp() {
        return sp;
    }

    public void setSp(SpannableStringBuilder sp) {
        this.sp = sp;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAlterinfo() {
        return alterinfo;
    }

    public void setAlterinfo(String alterinfo) {
        this.alterinfo = alterinfo;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getAuthorid() {
        return authorid;
    }

    public void setAuthorid(int authorid) {
        this.authorid = authorid;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getContent_length() {
        return content_length;
    }

    public void setContent_length(String content_length) {
        this.content_length = content_length;
    }

    public String getFrom_client() {
        return from_client;
    }

    public void setFrom_client(String from_client) {
        this.from_client = from_client;
    }

    public Map<String, Attach> getAttachs() {
        return attachs;
    }

    public void setAttachs(Map<String, Attach> attachs) {
        this.attachs = attachs;
    }

    public int getLou() {
        return lou;
    }

    public void setLou(int lou) {
        this.lou = lou;
    }

    public long getPostdatetimestamp() {
        return postdatetimestamp;
    }

    public void setPostdatetimestamp(long postdatetimestamp) {
        this.postdatetimestamp = postdatetimestamp;
    }

    public SpannableStringBuilder getQuote() {
        return quote;
    }

    public void setQuote(SpannableStringBuilder quote) {
        this.quote = quote;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getGroupname() {
        return groupname;
    }

    public void setGroupname(String groupname) {
        this.groupname = groupname;
    }

    public String getReputation() {
        return reputation;
    }

    public void setReputation(String reputation) {
        this.reputation = reputation;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Floor{" +
                "content='" + content + '\'' +
                '}';
    }
}
